﻿using System.Data.Entity;
using Ideaa.Data.Models;
using Microsoft.AspNet.Identity.EntityFramework;

namespace Ideaa.Data
{
    public class ApplicationDbContext : IdentityDbContext<User>
    {
        public ApplicationDbContext() : base("DefaultConnection")
        {
        }

        public DbSet<Idea> Ideas { get; set; }

        public DbSet<Suggestion> Suggestions { get; set; }

        public DbSet<Vote> Votes { get; set; }
    }
}